const KEY = 'my-token-vant-mobile'
// 设置
export const setToken = value => { localStorage.setItem(KEY, value) }
// 获取
export const getToken = () => localStorage.getItem(KEY)
// 删除
export const removeToken = () => { localStorage.removeItem(KEY) }
// 设置名字
export const setName = (value) => { localStorage.setItem('name', value) }
// 获取名字
export const getName = () => localStorage.getItem('name')
// 删除名字
export const removeName = () => { localStorage.removeItem('name') }
